package com.exception.error.demo2;

/**
 * 异常丢失
 * 
 * @author Administrator
 * 
 */
public class Demo2 {

	void f() throws VeryImportException {
		throw new VeryImportException();
	}

	void dispose() throws HoHumException {
		throw new HoHumException();
	}

	public static void main(String[] args) {
		try {
			Demo2 demo2 = new Demo2();
			try {
				demo2.f();
			} finally {
				demo2.dispose();
			}
		} catch (Exception e) {
			System.out.println(e);
		}
	}

}
